package com.tonann.app.domain;

import com.tonann.common.annotation.Excel;
import com.tonann.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 帮助与反馈对象 app_feed_back
 *
 * @author tonann
 * @date 2023-05-21
 */
public class AppFeedBack extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 微信id
     */
    @Excel(name = "微信id")
    private String openId;

    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickName;

    /**
     * 反馈类型
     */
    @Excel(name = "反馈类型")
    private String type;

    /**
     * 反馈的问题
     */
    @Excel(name = "反馈的问题")
    private String feedBack;

    /**
     * 反馈的图片的地址
     */
    @Excel(name = "反馈的图片的地址")
    private String feedImg;

    /**
     * 是否常见
     */
    @Excel(name = "是否常见")
    private String isCommon;

    /**
     * 回答
     */
    @Excel(name = "回答")
    private String answer;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setFeedBack(String feedBack) {
        this.feedBack = feedBack;
    }

    public String getFeedBack() {
        return feedBack;
    }

    public void setFeedImg(String feedImg) {
        this.feedImg = feedImg;
    }

    public String getFeedImg() {
        return feedImg;
    }

    public void setIsCommon(String isCommon) {
        this.isCommon = isCommon;
    }

    public String getIsCommon() {
        return isCommon;
    }

    public void setAnswer(String answer) {
        this.answer = answer;
    }

    public String getAnswer() {
        return answer;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("openId", getOpenId())
                .append("nickName", getNickName())
                .append("type", getType())
                .append("feedBack", getFeedBack())
                .append("feedImg", getFeedImg())
                .append("isCommon", getIsCommon())
                .append("answer", getAnswer())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
